<?php
	$email = "example@domain.com";

//echo "from constabt" . __FILE__ ."<br>";
//echo "from \$_SERVER['PHP_SELF']" . $_SERVER['PHP_SELF'] ."<br/>"

?>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
			<title>Semicolon PHP course</title>
				<style type="text/css">
				.designform{
				background:#ddeedd;
				}
				body{
				text-align:center;
				color:Blue;
				}
				</style>
	</head>
		<body>
			<form method="get" action="<?php echo $_SERVER['PHP_SELF'];?>">
				Username: <input class="designform" type="text" name="username" value=""/><br/><br/>
				Password: <input class="designform" type="password" name="password" value=""/><br/><br/>
				Email: <input class="designform" type="text" name="email" value="<?php echo $email;?>"/><br/><br/>
				about :<br/>
				<textarea class="designform" cols="60" rows="10" name="about">Your Text Goes Here....</textarea>
				<br/><br/>
				<input type="submit" name="sumbit" value="Submit">

			</form>
			<br/><br/><br/><br/>

			<?php
			$username =  $_GET['username'];
			$pass = $_GET['password'];
			$email = $_GET['email'];
			$about = $_GET['about'];
			echo "Hi!$username k chha? Your password is $pass. Its OK!! I will email you at $email.Your descritpion is $about";
			?>
    </body>
</html>
